package com.intellif.oom;

import java.lang.String;
import java.util.ArrayList;

/**
 * @author by mozping
 * @Classname Test
 * @Description TODO
 * @Date 2019/8/13 14:39
 */
public class Test {

    public static void main(String[] args) throws InterruptedException {
        while (true) {
//            Thread.sleep(3000);
//            System.out.println("1111");

            ArrayList<String> list = new ArrayList<String>();
            int i = 0;
            String str = "base";
            while (true) {
                list.add(String.valueOf(str + (i++)).intern());
            }
        }


    }

}